package cn.tools.jwt.client.entiry;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

/**
 * @author: e
 * @date: 2021/12/9
 * @description:
 * 头部配置说明
 * alg: HS256   或者RS256  配置RS256需要配置公钥私钥地址
 * typ: JWT
 */


@Data
@ConfigurationProperties(prefix = "auth-jwt")
public class JwtHeadConfig {

    //头部信息
    private Map<String,Object> head;

    //加密key
    private String key;

    //令牌失效时间
    private String expire;


    //私钥地址
    private String prikey;

    //公钥地址
    private String pubkey;
}
